package cn.itcast.scala

/*
author:donghui
date:2022.03.07
 */

object HomeWork_01 {
	var list = List(1,3,2,5,4,7,8,6,9,0)

	def main(args: Array[String]): Unit = {

		System.out.print("list = ")
		println(list.take(5))

		if (list.contains(0)) {
			println("contain zero")
		} else {
			println("not contain zero")
		}
	}
}
